<%@ Register TagPrefix="CA" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<%@ Register TagPrefix="FRL" Namespace="FourRoads.Links.Controls" Assembly="FourRoads.Links" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Control Language="c#" AutoEventWireup="false" Inherits="FourRoads.Links.Controls.DefaultPermissionListControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register TagPrefix="CP" Namespace="CommunityServer.ControlPanel.Controls" Assembly="CommunityServer.Web" %>
<script type="text/javascript">
  function onCallbackError(excString)
  {
    if (confirm('<%= FourRoads.Links.Controls.ResourceManager.GetString("CP_CallBackWarning") %>')) alert(excString); 
    <%= Grid1.ClientID %>.Page(1); 
  }
</script>
<div id="GrayGrid">
	<CA:Grid id="Grid1" runat="server">
		<Levels>
			<CA:GridLevel DataKeyField="RoleIDString">
				<Columns>
				<CA:gridcolumn AllowEditing="False" datafield="Name" headingtext="ResourceManager.CP_ResLink_GridCol_Name" />
					<CA:gridcolumn columntype="CheckBox" datafield="ViewLink" headingtext="ResourceManager.CP_ResLink_GridCol_ViewLinks"
						align="Center" AllowEditing="True" />
					<CA:gridcolumn columntype="CheckBox" datafield="AddLinks" headingtext="ResourceManager.CP_ResLink_GridCol_AddLinks"
						align="Center" AllowEditing="True" />
					<CA:gridcolumn columntype="CheckBox" datafield="EditLinks" headingtext="ResourceManager.CP_ResLink_GridCol_EditLinks"
						align="Center" AllowEditing="True" />
					<CA:gridcolumn columntype="CheckBox" datafield="RemoveLinks" headingtext="ResourceManager.CP_ResLink_GridCol_RemoveLinks"
						align="Center" AllowEditing="True" />
					<ca:gridcolumn columntype="CheckBox" datafield="Moderate" headingtext="ResourceManager.CP_ResLink_GridCol_Moderate"
						align="Center" AllowEditing="True" />
					<CA:gridcolumn columntype="CheckBox" datafield="ReportDeadLinks" headingtext="ResourceManager.CP_ResLink_GridCol_ReportDeadLinks"
						align="Center" AllowEditing="True" />
					<CA:gridcolumn columntype="CheckBox" datafield="AddComments" headingtext="ResourceManager.CP_ResLink_GridCol_AddComments"
						align="Center" AllowEditing="True" />
					<CA:gridcolumn datafield="RoleIDString" visible="False" />
				</Columns>
			</CA:GridLevel>
		</Levels>
	</CA:Grid>
</div>
<p class="PanelSaveButton">
	<FRL:resourcelinkbutton id="SaveButton" runat="server" resourcename="Save" cssclass="CommonTextButton" />
</p>

